cd ../
mvn clean package -Dmaven.test.skip=true

scp hipo-admin/target/hipo-admin-0.0.1-SNAPSHOT.jar root@hipo.lanchetech.com:/data/wwwroot/hipo-test/hipo-admin/
ssh root@hipo.lanchetech.com "source /etc/profile; cd /data/wwwroot/hipo-test/hipo-admin;  /data/wwwroot/hipo-test/hipo-admin/start.sh"
echo '测试部署管理后台成功'

ssh root@hipo.lanchetech.com "source /etc/profile; cp -f /data/wwwroot/hipo-test/hipo-admin/hipo-admin-0.0.1-SNAPSHOT.jar /data/wwwroot/hipo-prod/hipo-admin/hipo-admin-0.0.1-SNAPSHOT.jar;"
ssh root@hipo.lanchetech.com "source /etc/profile; cd /data/wwwroot/hipo-prod/hipo-admin;  /data/wwwroot/hipo-prod/hipo-admin/start.sh"
echo '生产部署管理后台成功'


